using ERPBackend.Models;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace ERPBackend.Services
{
    public interface ISupplierContactService
    {
        Task<IEnumerable<SupplierContact>> GetContactsBySupplierIdAsync(int supplierId);
        Task<SupplierContact> GetContactByIdAsync(int id);
        Task<SupplierContact> CreateContactAsync(SupplierContact contact);
        Task<bool> UpdateContactAsync(SupplierContact contact);
        Task<bool> DeleteContactAsync(int id);
    }
}